<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Машинки</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Expires" content="Sun, 7 May 2000 12:04:32 GMT"/>
<link rel="stylesheet" type="text/css" media="screen" href="../css/cust-smooth/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.16.custom.min.js"></script>
<STYLE type="text/css">
<!--
  .app-result-message {
    position: fixed;
    height: 40px;
    width: 600px;
    padding: 20px;
    top: 50%;
    margin-top: -40px;
    left: 50%;
    margin-left:-300px;
    line-height: 20px;
    font-size: 16px;
    text-align: center;
  }
-->
</STYLE>
</head>
<span class="app-result-message ui-widget ui-widget-content ui-corner-all">
<?php
$error = '<b>Извините. </b>На сайте возникли трудности технического характера.<br>'.
         'Обратитесь за помощью к администратору сайта.';
 
if( !($conf = parse_ini_file('config.ini', TRUE)))
    die($error);

$dsn = "mysql:host=".$conf['DB']['dbserv'].";".
    "dbname=".$conf['DB']['dbname'].";".
    "charset=".( isset($conf['DB']['charset']) ? $conf['DB']['charset'] : "utf8" ).";";

try {
    $db = new PDO( $dsn, $conf['DB']['dbuser'], $conf['DB']['dbpass'] );
	$db->exec('SET CHARACTER SET utf8');	
} 
catch (PDOException $e) {
    die($error);
}

require_once( "classes/customer.class.php" );
$ob = new Customer($db);
$ob->Confirmation();
?>
</span>
<body>
<span style="position"
</body>
</html>
